package com.itheima.reggie.service;

import com.itheima.reggie.domain.Employee;

import java.util.List;

/**
 * @Classname EmployeeService
 * @Description TODO
 * @Date 2023/3/1 14:20
 * @Created by 11404
 */



public interface EmployeeService {

    // 员工登录
    Employee login(String username, String password);

    // 员工列表
    List<Employee> find(String name);

    //新增员工
    void insertSave(Employee employee);

    //回显员工数据  --  根据ID查询员工数据
    Employee findById(Long id);

    //修改员工信息
    void updateEmployee(Employee employee);
}